/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package percistence;

import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
import model.Aluno;

/**
 *
 * @author Webert
 */
public class PessoaDAO {
     private static PessoaDAO instance= new PessoaDAO();
  
  private PessoaDAO() {}
  
  public static PessoaDAO getInstance() {
    return instance;
  }
  
   public void salvar(Aluno aluno){
   
   }
   
   public void alterar(Aluno aluno){
   
   }
   
   public void excluir(Integer id){
   
   }
   
   public void consultar(Integer id){
   
   }
  
    public void closeResources(Connection conn, Statement st) {
    try {
      if(st!=null) st.close();
      if(conn!=null) conn.close();
      
    } catch(SQLException e) {
      
    }
  } 
}
